package main

import (
	"bytes"
	"fmt"
)

func main() {
	s := []byte("hello world")
	fmt.Println(bytes.Contains(s, []byte{'h'}))
	fmt.Println(bytes.Count(s, []byte{'o'}))
	fmt.Println(bytes.Fields(s))
	fmt.Println(bytes.HasPrefix(s, []byte{'h'}))
	fmt.Println(bytes.HasPrefix(s, []byte{'h'}))
	fmt.Println(bytes.Index(s, []byte{'L'}))
	fmt.Println(bytes.IndexAny(s, "l"))
	fmt.Println(bytes.Equal(s[:1], s[len(s)-1:]))
}
